<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>返回打开的算法的分组大小</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="function.mcrypt-enc-get-algorithms-name.html">« mcrypt_enc_get_algorithms_name</a></li>
      <li style="float: right;"><a href="function.mcrypt-enc-get-iv-size.html">mcrypt_enc_get_iv_size »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="ref.mcrypt.html">Mcrypt 函数</a></li>
    <li>返回打开的算法的分组大小</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="function.mcrypt-enc-get-block-size" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mcrypt_enc_get_block_size</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.2, PHP 5, PHP 7 &lt; 7.2.0, PECL mcrypt &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">mcrypt_enc_get_block_size</span> &mdash; <span class="dc-title">返回打开的算法的分组大小</span></p>

 </div>
 <div id="function.mcrypt-enc-get-block-size-refsynopsisdiv">
  <div class="warning"><strong class="warning">警告</strong><p class="simpara">本函数已自 PHP 7.1.0 起<em class="emphasis">废弃</em>并将自
PHP 7.2.0 起<em class="emphasis">移除</em>。强烈建议不要使用本函数。</p></div>
 </div>
 <div class="refsect1 description" id="refsect1-function.mcrypt-enc-get-block-size-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>mcrypt_enc_get_block_size</strong></span>(<span class="methodparam"><span class="type">resource</span> <code class="parameter">$td</code></span>): <span class="type">int</span></div>

  <p class="para rdfs-comment">
   获取打开的算法的分组大小。
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.mcrypt-enc-get-block-size-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>
    
     <dt>
<code class="parameter">td</code></dt>

     <dd>

      <p class="para">
       加密描述符。
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.mcrypt-enc-get-block-size-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   返回指定算法的分组大小，以字节为单位。
  </p>
 </div>

</div></div></div></body></html>